Asset Payload
data class AssetPayload(val color: AssetColor? = null, val sourceSet: List<Source>? = null, val typeface: Typeface? = null, val transformPreset: AssetTransformPreset? = null, val properties: List<AssetProperty>? = null, val stylePreset: String? = null)
Structured information about the contained asset.
Constructors
Link copied to clipboard
constructor(color: AssetColor? = null, sourceSet: List<Source>? = null, typeface: Typeface? = null, transformPreset: AssetTransformPreset? = null, properties: List<AssetProperty>? = null, stylePreset: String? = null)
Properties
Link copied to clipboard
A color representing this asset.
Link copied to clipboard
Description of the properties of this asset.
Link copied to clipboard
A declarative style preset applied to a block via applyAssetSourceAssetToBlock, carried as a raw JSON document. The engine parses and applies it; binding code treats it as an opaque pass-through.
Link copied to clipboard
A transform preset for this asset.